package com.api.shopapi.service;


import com.api.shopapi.entity.Serve;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface ServeService {
    int insert(Serve serve);

    int deleteByServeCode(String serveCode);

    int updateByServeCode(Serve serve);

    Serve getByServeCode(String serveCode);

    Serve getByUserCode(String userCode);

    List<Serve> getList();

    int update(Serve serve);

    PageInfo<Serve> getPageList(int pageIndex, int pageSize, String name, int serviceStatus,String businessCode);

    List<Serve> getListByBusinessCode(String businessCode);

    //获取社区绑定的所有服务人员
    List<Serve> getListByZoneCode(String zoneCode);

}
